package com.bilifuture.statemachine.enums;

/**
 * @author bilifuture
 * @description:
 * @date 2022-02-23
 */
public enum SateMachineState {
    
    WAIT_APPOINTMENT("waitAppointment",2,"预约中"),
    APPOINTMENT_ING("appointmenting",2,"预约中");
    
    private String state;
    private Integer stateCode;
    private String description;
    
    private SateMachineState(String state, Integer stateCode, String description) {
        this.stateCode = stateCode;
        this.state = state;
        this.description = description;
    }
    
    public Integer getStateCode() {
        return stateCode;
    }
    
    public String getState() {
        return state;
    }
    
    public String getDescription() {
        return description;
    }
}
